export default class ResMsg {
    constructor(status) {
        this.status = status;
        this.msg = status ? '操作成功' : '操作失败';
        this.code = status ? 200 : 500;
    }
}